package com.common.pojo.dto;

/**
 * @Brief 排序规则DTO
 * @Author chenyl
 * @Date 2023-08-01
 * @Version 1.0.0
 */
public class SortOrderDTO {
    /**
     * 属性名称
     */
    private String column;
    /**
     * 是否为正序
     */
    private boolean isAsc = true;
    /**
     * 序号，第几个执行
     */
    private int sort;

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public Boolean getIsAsc() {
        return isAsc;
    }

    public void setIsAsc(Boolean isAsc) {
        this.isAsc = isAsc;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "{column:" + column +
                ",isAsc:" + isAsc +
                ",sort:" + sort +
                "}";
    }
}
